package com.example.test14.DI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {
    @Autowired
    private UserService userService;
    public void usercontroller(){
        System.out.println("running usercontroller");
        userService.userservice();
    }
}
